/*
 * Copyright Ningbo Qishan Technology Co., Ltd
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.mds.group.purchase.financial.result;

import com.mds.group.purchase.financial.model.FinancialDetails;

/**
 * The type Financial result.
 *
 * @author pavawi
 */
public class FinancialResult extends FinancialDetails {

    private String icon;

    private String nickName;

    /**
     * Instantiates a new Financial result.
     *
     * @param financialDetails the financial details
     */
    public FinancialResult(FinancialDetails financialDetails) {
        setAccountType(financialDetails.getAccountType());
        setAccount(financialDetails.getAccount());
        setType(financialDetails.getType());
        setAppmodelId(financialDetails.getAppmodelId());
        setCreatedTime(financialDetails.getCreatedTime());
        setGroupId(financialDetails.getGroupId());
        setModifyTime(financialDetails.getModifyTime());
        setOrderId(financialDetails.getOrderId());
        setSerialNumber(financialDetails.getSerialNumber());
        setWxuserId(financialDetails.getWxuserId());
        setId(financialDetails.getId());
    }

    /**
     * Instantiates a new Financial result.
     */
    public FinancialResult() {

    }

    /**
     * Gets icon.
     *
     * @return the icon
     */
    public String getIcon() {
        return icon;
    }

    /**
     * Sets icon.
     *
     * @param icon the icon
     */
    public void setIcon(String icon) {
        this.icon = icon;
    }

    /**
     * Gets nick name.
     *
     * @return the nick name
     */
    public String getNickName() {
        return nickName;
    }

    /**
     * Sets nick name.
     *
     * @param nickName the nick name
     */
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
}
